iconview: clamp item size to be in [minimum, natural]
authorBenjamin Otte <otte@redhat.com>
Wed, 13 Jun 2012 17:26:09 +0000 (19:26 +0200)
committerBenjamin Otte <otte@redhat.com>
Thu, 14 Jun 2012 05:41:40 +0000 (07:41 +0200)
commit6d9d87806ad957bfabebd18989c8989efce19c01
tree7f97b0484dd5b29da7942951194ef0c76461514d
parent7c1b5611940d7540e7b7ebd4cc63b0eee88dac46
iconview: clamp item size to be in [minimum, natural]

Minimum size is necessary so you can see the item. If we can't get that
we need to scroll.
Natural as the maximum is used so that the spacing between items doesn't
increase when resizing the iconview, but empty space is added to the
right/bottom instead.

https://bugzilla.gnome.org/show_bug.cgi?id=677809
gtk/gtkiconview.c